home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set newLoc to the loc of sprite the clickOn + point(2, 2)
- repeat while the stillDown
- if rollOver(the clickOn) then
- set the loc of sprite the clickOn to newLoc
- updateStage()
- next repeat
- end if
- set the loc of sprite the clickOn to newLoc - point(2, 2)
- updateStage()
- end repeat
- set the loc of sprite the clickOn to newLoc - point(2, 2)
- updateStage()
- if rollOver(the clickOn) then
- do(the name of member the mouseCast)
- end if
- end
-